October 22, 2024
v3 Delete Registration Document
Description:
delete a registration document
URI:
https://api.multitel.net/v3/delete_document/${document_id}
Parameters:
Required: - document_id: Unique ID of the document
Methods:
POST/GET
Sample Output:
{
"status": {
"code": 200,
"msg": "Success"
},
"response": ""
}
Sample Code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.multitel.net/v3/delete_document/00704f5656b7dcfb934eb3437bc2252e',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Basic YWRtaW46Vnc0OXB11',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;